<?php 
require_once '../php/database.php';

// Seting the content type
header('Content-type: application/json');

// Extracting the variables from the POST
$username = $_POST['username'];
$password = $_POST['password'];

if ( isset($username) && isset($password) ) {
	// do database check	
// 	$connection = DatabaseMysqlConnection::get();
	
	
	echo json_encode("success");
} else {
	echo json_encode("error");
}



?>
